package com.dead.letter.job;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TestJob {

    //每隔一分钟执行一次,暂停，失败重跑，任务监控，任务报警
    @Scheduled(cron = "0 0/1 * * * ?")
    public void excute(){

        System.out.println("P0======================");
    }
}
